home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000318_news@newsmaster….columbia.edu _Wed Jun 18 10:50:37 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA16547
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 18 Jun 1997 10:50:36 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA08088
  7.     for kermit.misc@watsun; Wed, 18 Jun 1997 10:50:35 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: having trouble receiving a file
  12. Date: 18 Jun 1997 14:50:21 GMT
  13. Organization: Columbia University
  14. Lines: 37
  15. Message-ID: <5o8sjd$7rl$1@newsmaster.cc.columbia.edu>
  16. References: <33A676E9.1980@netscape.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7179
  19.  
  20. In article <33A676E9.1980@netscape.com>,
  21. David Richardson  <davidr@netscape.com> wrote:
  22. : I have a script that is dialing a number, then outputting a key, then
  23. : receiving a file. The remote site is seeing the key but I am not able to
  24. : receive the file. If someone could look at this script and give me some
  25. : ideal what I am doing wrong. I would appreciate it. 
  26. : set terminal autodownload on
  27. : set terminal debug on
  28. : set transfer display none
  29. : set input echo on
  30. :  
  31. : show terminal
  32. :  
  33. : call usrobotics /dev/ttyc 9600 9,6666666
  34. :  
  35. What if the call is not completed?  You need an "if fail" here.
  36.  
  37. : output \13
  38. : input 10
  39. : if fail end 1 No prompt!
  40. : pause 5
  41. : output 66666\13
  42. :  
  43. : pause 10
  44. : if fail end 1 No Prepare system message!!
  45. : output receive\13
  46. This sends "receive" and then a carriage return to the other side.  Is
  47. that what you want?  Are you trying to send a file or receive one?
  48.  
  49. See the chapters on script programming in the manual, "Using C-Kermit",
  50. for numerous examples of how to do this:
  51.  
  52.   http://www.columbia.edu/kermit/ck60manual.html
  53.  
  54. - Frank